package com.ljf.interestingmaps.util;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;


public class RefferInstallReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.getExtras() != null && !TextUtils.isEmpty(intent.getExtras().getString("referrer"))){
            Const.saveCh(context, intent.getExtras().getString("referrer"));
        }
    }
}